package com.huawei.cloud.phone.management.common.exception;

import org.springframework.http.HttpStatus;

import java.util.List;

public class ApkInstallException extends BusinessException {
    static final long serialVersionUID = 403489723122226121L;

    public ApkInstallException(String phoneId, String errorMsg) {
        super("CPH.MANAGER.PKG.00002", phoneId, errorMsg);
        super.setHttpCode(HttpStatus.INTERNAL_SERVER_ERROR.value());
    }

    public ApkInstallException(String errorMsg) {
        super("CPH.MANAGER.PKG.00003", errorMsg);
        super.setHttpCode(HttpStatus.INTERNAL_SERVER_ERROR.value());
    }
}
